package tank.draw;

import javax.swing.*;

/**
 * @Author: WaveKing
 * @Description: TODO
 * @Date: Created in 13:26 2023/11/11
 * @Modified By:
 */
public class tankGame01 extends JFrame {
    mypanel mp = null;
    public static void main(String[] args) {
        new tankGame01();
    }

    public tankGame01() {
        mp = new mypanel();
        new Thread(mp).start();
        this.add(mp);
        this.addKeyListener(mp);
        this.setSize(1000,750);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.setVisible(true);
    }
}
